package com.gct.persistence;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gct.domain.Album;
import com.gct.domain.Audio;

public interface AudioMapper extends ArtMapper {
    List<Audio> getAudios();
    Audio getAudioDetails(@Param("id") long id);
    Album<Audio> getAudiosInAlbum(@Param("album") Album<Audio> album);
    Audio getAudioURI(@Param("id") long id);
    void saveAudio(@Param("audio") Audio audio);
    void updateAudio(@Param("audio") Audio audio);
    void deleteAudio(@Param("audio") Audio audio);
}
